package com.yxb.service.common.interf;

import com.allen.page.DataPage;
import com.yxb.option.DeviceInfoVo;
import com.yxb.service.common.domain.DeviceData;
import com.yxb.service.common.option.DeviceDataOption;
import org.apache.commons.lang3.tuple.ImmutablePair;

import java.util.List;

/**
 * @author
 */
public interface DeviceDataService {

    public ImmutablePair<Boolean,String> userAccept(Integer userId, Integer dId);

    public DataPage<DeviceData> queryPage(DataPage<DeviceData> dataPage, DeviceDataOption option, Integer userId);

    public DataPage<DeviceData> queryPage(DataPage<DeviceData> dataPage, DeviceDataOption option, String deviceId);

    public DataPage<DeviceData> queryDevicePage(DataPage<DeviceData> dataPage, DeviceDataOption option);

    public List<DeviceData> queryList(DeviceDataOption option);

    public ImmutablePair<Boolean,String> addObject(DeviceInfoVo deviceInfoVo);



}
